<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button onclick="sayHi()">ok</button>
	</body>
	<script>
	var a=1
	console.log("HelloWorld")
	function sayHi(){
		alert("您好")
	}
	// 方法调用
	// sayHi()
	
	
	</script>
</html>
